import { Tool, ToolCategory } from '../types/tool';

export const categories: ToolCategory[] = [
  { id: 'ai4s', name: 'AI4S', icon: 'Atom', color: 'bg-blue-500' },
  { id: 'knowledge', name: '知识工程', icon: 'Network', color: 'bg-purple-500' },
  { id: 'multimodal', name: '多模态', icon: 'Layers', color: 'bg-green-500' },
  { id: 'other', name: '其他', icon: 'Boxes', color: 'bg-gray-500' },
];

export const defaultTools: Tool[] = [
  {
    id: 'graphrag',
    name: 'GraphRAG工具',
    description: '基于图数据库的检索增强生成工具，提供智能知识图谱构建和查询能力',
    icon: 'Network',
    category: 'knowledge',
    url: 'http://localhost:8501',
    type: 'iframe',
    tags: ['GraphRAG', 'AI', '知识图谱', '知识工程'],
    authorInfo: {
      owner: 'DTSE Team',
      technicalSupport: 'DTSE Technical Team',
      contributors: ['张三', '李四'],
    },
    version: '1.0.0',
    stats: {
      views: 0,
      likes: 0,
      likedBy: [],
    },
  },
  {
    id: 'mlflow',
    name: '智能预测寻优平台',
    description: 'MLflow集成平台，提供模型训练、实验追踪、模型部署等完整机器学习生命周期管理',
    icon: 'TrendingUp',
    category: 'ai4s',
    url: 'http://localhost:5001',
    type: 'iframe',
    tags: ['MLflow', '机器学习', '模型管理', 'AI4S'],
    authorInfo: {
      owner: 'DTSE Team',
    },
    version: '1.0.0',
    stats: {
      views: 0,
      likes: 0,
      likedBy: [],
    },
  },
];

